home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
etc
/
pcmcia
/
ieee1394
< prev
next >
Wrap
Text File
|
2005-10-18
|
853b
|
57 lines
#!/bin/sh
#
# ieee1394 1.00 2000/09/07 21:02:09 (Albrecht Dre▀)
#
# Initialize or shutdown a IEEE1394/FireWire device
#
# The first argument should be either 'start' or 'stop'. The second
# argument is the base name for the device.
#
# There is not very much to do for this script...
#
if [ -r ./shared ] ; then . ./shared ; else . /etc/pcmcia/shared ; fi
# Get device attributes
get_info $DEVICE
# Load site-specific settings
ADDRESS="$SCHEME,$SOCKET,$INSTANCE"
. $0.opts
case "$ACTION" in
'start')
if is_true $LOAD_1394RAW ; then
modprobe raw1394
fi
;;
'check')
is_true $NO_CHECK && exit 0
;;
'cksum')
chk_simple "$NEW_SCHEME,$SOCKET,$INSTANCE" || exit 1
;;
'stop')
if is_true $LOAD_1394RAW ; then
modprobe -r raw1394
fi
;;
'suspend')
;;
'resume')
;;
*)
usage
;;
esac
exit 0